﻿//fs
//#version 330 core

in vec3 passSTR;

uniform sampler2DArray glyphTexture;
uniform vec3 textColor;

out vec4 outColor;

void main(void) {
    //outColor = vec4(passSTR, 1.0f);
    //outColor = texture(glyphTexture, vec3(passSTR.xy, floor(passSTR.z)));
    float a = texture(glyphTexture, vec3(passSTR.xy, floor(passSTR.z))).a;
    outColor = vec4(textColor, a);
}